package com.xd.core.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.xd.core.company.entity.ChannelTowRecharge;
import com.xd.core.finance.dto.PreDepositeQueryChannelTwoDto;
import com.xd.core.finance.vo.PreDepositeQueryChannelTwoVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 渠道二充值记录 Mapper 接口
 * </p>
 *
 * @author ZX
 * @since 2025-07-07
 */
public interface ChannelTowRechargeMapper extends BaseMapper<ChannelTowRecharge> {

    Page<PreDepositeQueryChannelTwoVo> getRechargeRecord(@Param("pre") PreDepositeQueryChannelTwoDto preDepositeQueryDto, @Param("companyId") Integer companyId);

    void updateVoucher(Integer id, String virtualPath);
}
